package com.yuda.operationcenter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;

/**
 * 资讯的点击量对象 oper_information_hits
 *
 * @author wyn
 * @date 2021-04-12
 */
public class OperInformationHits extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** ip地址 */
    @Excel(name = "ip地址")
    private String ipAddr;

    /** 资讯的id */
    @Excel(name = "资讯的id")
    private Long informationId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIpAddr(String ipAddr)
    {
        this.ipAddr = ipAddr;
    }

    public String getIpAddr()
    {
        return ipAddr;
    }
    public void setInformationId(Long informationId)
    {
        this.informationId = informationId;
    }

    public Long getInformationId()
    {
        return informationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ipAddr", getIpAddr())
            .append("informationId", getInformationId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
